package com.lhy.ltss.entity;

import lombok.Data;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

/**
 * @description:
 * @author: 李汇远
 */
@Data
public class Page<T> implements Serializable {
    private Integer totalPage;
    private Integer page;
    private List<T> rows;
    public Page(Integer page, Integer totalPage, List<T> rows){
        this.page = page;
        this.totalPage = totalPage;
        this.rows = rows;
    }
}
